package com.kingwang.demo.springsecuritytokendemo.security.exception;

import org.springframework.security.core.AuthenticationException;

/**
 * Token类型非法异常
 *
 * @author King
 */
public class InvalidTokenTypeException extends AuthenticationException {
    private static final long serialVersionUID = 2721853609557483604L;

    public InvalidTokenTypeException(String msg, Throwable t) {
        super(msg, t);
    }

    public InvalidTokenTypeException(String msg) {
        super(msg);
    }
}
